#include "DSP2833x_Device.h"

#ifndef _RDC_H
#define _RDC_H

/*-----------------------------------------------RDC-----------------------------------------------------*/
#define ADD_RDC_POS    			0x200000UL

//#define  DO_RDC_RES0    		GpioDataRegs.GPBDAT.bit.GPIO48	//RDC_RES0
//#define  DO_RDC_RES1    		GpioDataRegs.GPBDAT.bit.GPIO49	//RDC_RES1
#define  DO_RDC_SOE     		GpioDataRegs.GPBDAT.bit.GPIO51	//RDC_SOE
#define  DO_RDC_SAMPLE  		GpioDataRegs.GPBDAT.bit.GPIO50	//RDC_SAMPLE
#define  DO_RDC_RST     		GpioDataRegs.GPBDAT.bit.GPIO52	//RDC_RST
#define  DO_RDC_A0      		GpioDataRegs.GPBDAT.bit.GPIO48	//RDC_A0
#define  DO_RDC_A1      		GpioDataRegs.GPBDAT.bit.GPIO49	//RDC_A1
//#define  DI_RDC_DOS     		GpioDataRegs.GPBDAT.bit.GPIO55	//RDC_DOS
//#define  DI_RDC_LOT     		GpioDataRegs.GPBDAT.bit.GPIO56	//RDC_LOT

Uint16 RDCPosGet( void );
void RdcConfig(Uint16 g_addr);
#endif/*_RDC_H*/

/*---------------------------------------------------------------------------
 * End of file.
 *--------------------------------------------------------------------------*/
